<template>
  <div class="Movie">
    <h1>Movie</h1>
    <h3>Count组件的num的值是{{num}}</h3>
    <h3>Count组件中的doubleNum值是{{ doubleNum }}</h3>
  </div>
</template>

<script>
import { mapGetters, mapState } from 'vuex';
export default {
    name:"Movie",
    mounted(){
        console.log(this);
    },
    computed:{
        ...mapState(["num"]),
        ...mapGetters(["doubleNum"]),
    }
}
</script>

<style>
.Movie{
    background:pink;
}
</style>